package cn.kgc.vue.shiro;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author 课工场
 * @date 2023/12/5
 * @description
 */
public class JWTToken implements AuthenticationToken {

    private String token;

    public JWTToken(String token){
        this.token = token;
    }
    @Override
    public Object getPrincipal() {
        return this.token;
    }

    @Override
    public Object getCredentials() {
        return this.token;
    }
}
